Comparing the output of pip in the magical venv that can run the alexnet_based
and a fresh install that can't. Have saved both of these to different text files:
In [1]:
cd ..
In [2]:
!cat magical.freeze
In [3]:
!cat fresh.freeze
Comparing line by line by eye is a bit annoying, so using Python:
In [4]:
magical = []
with open("magical.freeze") as f:
for l in f:
magical.append(l)
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
Then we can just use sets to compare:
In [5]:
set(magical) - set(fresh)
Out[5]:
Installing just those in the fresh and trying again. Installing in this order:
In [7]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[7]:
In [8]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[8]:
In [10]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[10]:
terminado==0.4
: errors
In [13]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[13]:
In [14]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[14]:
In [15]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[15]:
In [18]:
fresh = []
with open("fresh.freeze") as f:
for l in f:
fresh.append(l)
set(magical) - set(fresh)
Out[18]:
Freeze results now match exactly. Must be some other difference in the virtualenv.